[IA64] display vmx fault messges
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 19 Jun 2006 19:42:34 +0000 (13:42 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 19 Jun 2006 19:42:34 +0000 (13:42 -0600)
commit67799254d1c6d9e1ad5378ffa6dc04312e495c5d
treed6faf261fa2a2ebedf2a77cd3fe5d93eea1e5c00
parent75673932b64b1573fee23e5f65094d9dc200597c
[IA64] display vmx fault messges

This patch modifies the vmx fault handler to display a message when a
fault occurs in hypervisor.

This includes the followings:

- Break 0 handler is modified to check psr.vm bit instead of cpl.
- External interrupt handler is modified to get current using
MINSTATE_GET_CURRENT instead of r21.  r21 has been used in DO_SAVE_MIN
which is called from other fault handlers.  I'm not sure why the
original vmx fault handler gets the current from r21.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
xen/arch/ia64/vmx/vmx_ivt.S
xen/arch/ia64/vmx/vmx_process.c
xen/arch/ia64/xen/ivt.S
xen/arch/ia64/xen/xenmisc.c
xen/include/asm-ia64/vmx.h